@model Loading.Models.CartrigeLot

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>CartrigeLot</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">Count</div>
    <div class="display-field">@Model.Count</div>

    <div class="display-label">IsDiscarded</div>
    <div class="display-field">@Model.IsDiscarded</div>

    <div class="display-label">Brass</div>
    <div class="display-field">@(Model.Brass == null ? "None" : Model.Brass.Name)</div>

    <div class="display-label">Notes</div>
    <div class="display-field">@(Model.Notes == null ? "None" : Model.Notes.Count.ToString())</div>

    <div class="display-label">CartrigeRecipie</div>
    <div class="display-field">@(Model.CartrigeRecipie == null ? "None" : Model.CartrigeRecipie.Name)</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.CartrigeLotId }) |
    @Html.ActionLink("Back to List", "Index")
</p>


